<template>
  <el-container>
    <el-header>
      <admin-header></admin-header>
    </el-header>
    <el-container>
      <el-aside>
        <left-side></left-side>
      </el-aside>
      <el-container>
        <el-main>
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
    <el-footer>Footer</el-footer>
  </el-container>
</template>

<script>
import leftSide from "@/components/LeftSide";
import Header from "../../components/Header";

export default {
  name:"home",
  components:{
    "left-side":leftSide,
    "admin-header":Header,
  }
}
</script>

<style>

* {
  margin: 0;
  padding: 0;
}

.el-header,
.el-footer {
  background-color: #b3c0d1;
  color: var(--el-text-color-primary);
  height: 8vh;
}

.el-header {
  background-image: linear-gradient(25deg, #077fe0, #3aa6f7, #5ecfff, #7ffaff);
}

.el-footer {
  background-image: linear-gradient(25deg, #7ffaff, #5ecfff, #3aa6f7, #077fe0);
}

.el-aside {
  background-color: #d3dce6;
  color: var(--el-text-color-primary);
  text-align: center;
  height: 84vh;
  width: 12.5vw;
}

.el-main {
  background-color: #e9eef3;
  color: var(--el-text-color-primary);
  text-align: center;
  height: 84vh;
  width: 87.5vw;
}

</style>
